﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.OptimizeConfigModel
{
    /// <summary>
    /// 要素优选，根据人员角色配置
    /// </summary>
    [Serializable]
    [XmlRootAttribute("casetype", IsNullable = false)]
    public class OptimizeFactRole
    {
        /// <summary>
        /// 编号，用于区分不同诉讼地位的人员合并配置
        /// </summary>
        [XmlAttribute("code")]
        public string Code { get; set; }
        /// <summary>
        /// 中文名称
        /// </summary>
        [XmlAttribute("名称")]
        public string StrName { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        [XmlAttribute("role")]
        public string Role { get; set; }

        private List<OptimizeFactXmlType> _OptimizeFactXmlType = new List<OptimizeFactXmlType>();
        /// <summary>
        /// 节点优选配置集合
        /// </summary>
        [XmlElementAttribute("xmlfacttype")]
        public List<OptimizeFactXmlType> OptimizeFactXmlType
        {
            get { return _OptimizeFactXmlType; }
            set { _OptimizeFactXmlType = value; }
        }

    }
}
